package com.ljb.calendar.bean;

import org.joda.time.LocalDate;

/**
 * Created by ljb on 2018/3/21.
 */

public class DateBean {
    private LocalDate mLocalDate;//选中的日期
    private LocalDate mTodayDate;//今日的日期
    private int mPosition;//viewpager位置

    public int getMonthFlag() {
        return mMonthFlag;
    }

    public void setMonthFlag(int mMonthFlag) {
        this.mMonthFlag = mMonthFlag;
    }

    private int mMonthFlag;//-1表示前一个月,0表示当月,1表示下一个月,-2是在单行日历中无法确定



    public LocalDate getLocalDate() {
        return mLocalDate;
    }

    public void setLocalDate(LocalDate mLocalDate) {
        this.mLocalDate = mLocalDate;
    }

    public LocalDate getTodayDate() {
        return mTodayDate;
    }

    public void setTodayDate(LocalDate mTodayDate) {
        this.mTodayDate = mTodayDate;
    }

    public int getPositionOfPager() {
        return mPosition;
    }

    public void setPositionOfPager(int mPosition) {
        this.mPosition = mPosition;
    }


    @Override
    public String toString() {
        return "DateBean{" +
                "mLocalDate=" + mLocalDate +
                ", mTodayDate=" + mTodayDate +
                ", mPosition=" + mPosition +
                ", mMonthFlag=" + mMonthFlag +
                '}';
    }
}
